<template>
  <div>
    <h3>注册</h3>
    <el-form v-model="form">
      <el-input type="text" v-model="form.name"></el-input>
      <el-input type="password" v-model="form.pwd" show-password></el-input>
      <el-input type="password" v-model="form.pwd" show-password></el-input>
      <el-input type="text" v-model="form.phone"></el-input>
      <el-input type="text" v-model="form.code"></el-input>
      <p>
        <el-button type="primary" round @click="regist">注册</el-button>
      </p>
    </el-form>
  </div>
</template>

<script>
  export default {
    name: 'regist',
    data () {
      return {
        form: {
          name: '',
          pwd: '',
          phone:'',
          code:''
        }
      }
    },
    methods:{
      regist () {
        
      }
    }
  }
</script>

<style>
</style>
